import matplotlib.pyplot as plt
score = [105,21,42,12,43,65,78,65,44,74,37,86,88,95,576,151,161,15,34,64,22,11,66,77,12,400,300,200,250,520,210,124,213,532,433,0,]
plt.rcParams['font.sans-serif'] = ['SimHei']
plt.xlabel('分数')
plt.ylabel('学生数量')
plt.title('学生语文成绩分布直方图')
plt.hist(score,bins=range(0,600,10), facecolor='red',edgecolor='black')
plt.show()